﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using MaxStudio.Concrete.DBUtility;
using MaxStudio.Concrete.Server.Dao;

namespace MaxStudio.Concrete.Server.Interface 
{
    interface IUsers
    {
          OperationResult<List<tb_User>> GetAllUserList(int currentPage, int PageSize );
          OperationResult<tb_User> GetUserById(int id);
          OperationResult<tb_User> CreateUser(tb_User entityUser);
          OperationResult<tb_User> ModifyUser(tb_User entityUser);
          OperationResult<tb_User> DeleteUser(tb_User entityUser);
          OperationResult<List<tb_User>> GetUserByGroup(int groupId);

    }
}
